package com.java.mapper;

import java.util.List;

import com.java.entity.Payment;

public interface PaymentMapper {
    int deleteByPrimaryKey(Integer paymentId);

    int insert(Payment record);

    int insertSelective(Payment record);

    Payment selectByPrimaryKey(Integer paymentId);
    
    List<Payment> selectByUser(Integer userId);
    
    int updateByPrimaryKeySelective(Payment record);

    int updateByPrimaryKey(Payment record);
    
    int selectMaxId();
}